WPForms\Tasks\Actions\FormsLocatorScanTask S

Total Complexity 42
Dependencies 5
Dependents 2
Total lines 553
Lines of code 218
Logical lines of code 113
Comment lines 219
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
maybe_run_actions_in_admin()
S
57 7 18
get_form_locations_from_posts()
S
52 6 23
scan()
S
53 4 22
search_in_standalone_forms()
S
52 3 26
save()
S
57 3 17
init()
S
60 3 13
get_form_locations()
S
54 2 20
after_process_queue()
S
66 3 9
get_form_location_metas()
S
64 3 10
add_scan_task()
S
68 2 8
search_in_posts()
S
60 1 14
delete()
S
64 1 11
posts_fields_filter()
S
62 1 11
__construct()
S
77 1 4
hooks()
S
66 1 8
rescan()
S
78 1 4